package com.zb.article.mapper;


import com.zb.model.pojo.article.ApAuthor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AuthorMapper {
    @Select("select * from ap_author where user_id = #{userId}")
    ApAuthor findByUserId(Integer userId);

    Integer save(ApAuthor apAuthor);
}
